8.8
HIGH CVSS 3.1
CVE-2026-26982
Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations
Description

Ghostty is a cross-platform terminal emulator. Ghostty allows control characters such as 0x03 (Ctrl+C) in pasted and dropped text. These can be used to execute arbitrary commands in some shell environments. This attack requires an attacker to convince the user to copy and paste or drag and drop malicious text. The attack requires user interaction to be triggered, but the dangerous characters are invisible in most GUI environments so it isn't trivially detected, especially if the string contents are complex. Fixed in Ghostty v1.3.0.

INFO

Published Date :

March 10, 2026, 7:42 a.m.

Last Modified :

March 13, 2026, 5:28 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-26982 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ghostty ghostty
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Update Ghostty to version 1.3.0 or later to fix command execution via control characters.
  • Update Ghostty to version 1.3.0.
  • Avoid pasting or dropping untrusted text.
  • Ensure shell environments sanitize control characters.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-26982.

URL Resource
https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9 Patch
https://github.com/ghostty-org/ghostty/pull/10746 Issue Tracking Patch
https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r Patch Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-26982 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-26982 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-26982 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 13, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:ghostty:ghostty:*:*:*:*:*:*:*:* versions up to (excluding) 1.3.0
    Added Reference Type GitHub, Inc.: https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/ghostty-org/ghostty/pull/10746 Types: Issue Tracking, Patch
    Added Reference Type GitHub, Inc.: https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r Types: Patch, Vendor Advisory
  • New CVE Received by [email protected]

    Mar. 10, 2026

    Action Type Old Value New Value
    Added Description Ghostty is a cross-platform terminal emulator. Ghostty allows control characters such as 0x03 (Ctrl+C) in pasted and dropped text. These can be used to execute arbitrary commands in some shell environments. This attack requires an attacker to convince the user to copy and paste or drag and drop malicious text. The attack requires user interaction to be triggered, but the dangerous characters are invisible in most GUI environments so it isn't trivially detected, especially if the string contents are complex. Fixed in Ghostty v1.3.0.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
    Added CWE CWE-78
    Added Reference https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9
    Added Reference https://github.com/ghostty-org/ghostty/pull/10746
    Added Reference https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.